# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ckbcomp
pkgver=1.196
pkgrel=0
pkgdesc="Compile a XKB keyboard description to a keymap"
url="http://anonscm.debian.org/cgit/d-i/console-setup.git"
arch="noarch"
license="GPL-2.0-or-later"
depends="perl"
options="!check"
subpackages="$pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/c/console-setup/console-setup_$pkgver.tar.xz"
builddir="$srcdir"/console-setup-$pkgver

package() {
	install -D -m755 Keyboard/$pkgname $pkgdir/usr/bin/$pkgname
	install -D -m644 man/$pkgname.1 $pkgdir/usr/share/man/man1/$pkgname.1
}

sha512sums="f100cdf2226cdad94c595ca269e65155b52ec23996f2fee8d4916f7a414c7a6f70ae51e9ba2d3c7ae4a93a8830ee2e3eb2f1d09c636f49005d54d52ec674e938  console-setup_1.196.tar.xz"
